package org.example.myleet.p977;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{0,1,9,16,100}, solution.sortedSquares(new int[]{-4,-1,0,3,10})));
        Assert.isTrue(Assert.isPass(new int[]{4,9,9,49,121}, solution.sortedSquares(new int[]{-7,-3,2,3,11})));
        Assert.isTrue(Assert.isPass(new int[]{1,4,9,16,25}, solution.sortedSquares(new int[]{1,2,3,4,5})));
        Assert.isTrue(Assert.isPass(new int[]{1}, solution.sortedSquares(new int[]{1})));
    }
}
